package com.yj.web.service;


import com.yj.web.dao.po.admin.Agreement;

import java.util.List;

/**
 * Created by yyl on 15/5/5.
 */
public interface AgreementService {
    public List<Agreement> listAgreement(int type, int page, int size);
    public int countAgreement(int type);
    public int deleteAgreementById(int id);
    public Agreement getAgreementById(int id);
    public long insertAgreement(Agreement agreement);
    public boolean updateAgreement(Agreement agreement);
    public boolean updateAgreementStatus(int id);
}
